package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsTopicDO;
import com.macro.mall.model.cms.CmsTopicQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsTopicMapper extends BaseMapper<CmsTopicDO> {
    long countByExample(CmsTopicQuery example);

    int deleteByExample(CmsTopicQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsTopicDO record);

    int insertSelective(CmsTopicDO record);

    List<CmsTopicDO> selectByExampleWithBLOBs(CmsTopicQuery example);

    List<CmsTopicDO> selectByExample(CmsTopicQuery example);

    CmsTopicDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsTopicDO record, @Param("example") CmsTopicQuery example);

    int updateByExampleWithBLOBs(@Param("record") CmsTopicDO record, @Param("example") CmsTopicQuery example);

    int updateByExample(@Param("record") CmsTopicDO record, @Param("example") CmsTopicQuery example);

    int updateByPrimaryKeySelective(CmsTopicDO record);

    int updateByPrimaryKeyWithBLOBs(CmsTopicDO record);

    int updateByPrimaryKey(CmsTopicDO record);
}
